import request from '@/utils/request'

// 查询商品属性详情列表
export function listStoreProductAttrResult(query) {
  return request({
    url: '/product/storeProductAttrResult/list',
    method: 'get',
    params: query
  })
}

// 获取商品属性详情详细信息
export function getStoreProductAttrResult(id) {
  return request({
    url: '/product/storeProductAttrResult/query/' + id,
    method: 'get'
  })
}

// 新增商品属性详情
export function addStoreProductAttrResult(data) {
  return request({
    url: '/product/storeProductAttrResult/add',
    method: 'post',
    data: data
  })
}

// 修改商品属性详情
export function updateStoreProductAttrResult(data) {
  return request({
    url: '/product/storeProductAttrResult/edit',
    method: 'put',
    data: data
  })
}

// 删除商品属性详情
export function delStoreProductAttrResult(ids) {
  return request({
    url: '/product/storeProductAttrResult/remove/' + ids,
    method: 'delete'
  })
}

}
